/*
 * XML Type:  AudioParamType
 * Namespace: http://www.data-archive.ac.uk/dext/schema/draft
 * Java type: uk.da.dext.AudioParamType
 *
 * Automatically generated - do not modify.
 */
package uk.da.dext;


/**
 * An XML AudioParamType(@http://www.data-archive.ac.uk/dext/schema/draft).
 *
 * This is a complex type.
 */
public interface AudioParamType extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(AudioParamType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("audioparamtypedfcctype");
    
    /**
     * Gets the "id" attribute
     */
    java.lang.String getId();
    
    /**
     * Gets (as xml) the "id" attribute
     */
    org.apache.xmlbeans.XmlID xgetId();
    
    /**
     * Sets the "id" attribute
     */
    void setId(java.lang.String id);
    
    /**
     * Sets (as xml) the "id" attribute
     */
    void xsetId(org.apache.xmlbeans.XmlID id);
    
    /**
     * Gets the "clipType" attribute
     */
    uk.da.dext.AudioParamType.ClipType.Enum getClipType();
    
    /**
     * Gets (as xml) the "clipType" attribute
     */
    uk.da.dext.AudioParamType.ClipType xgetClipType();
    
    /**
     * True if has "clipType" attribute
     */
    boolean isSetClipType();
    
    /**
     * Sets the "clipType" attribute
     */
    void setClipType(uk.da.dext.AudioParamType.ClipType.Enum clipType);
    
    /**
     * Sets (as xml) the "clipType" attribute
     */
    void xsetClipType(uk.da.dext.AudioParamType.ClipType clipType);
    
    /**
     * Unsets the "clipType" attribute
     */
    void unsetClipType();
    
    /**
     * Gets the "otherClipType" attribute
     */
    java.lang.String getOtherClipType();
    
    /**
     * Gets (as xml) the "otherClipType" attribute
     */
    org.apache.xmlbeans.XmlString xgetOtherClipType();
    
    /**
     * True if has "otherClipType" attribute
     */
    boolean isSetOtherClipType();
    
    /**
     * Sets the "otherClipType" attribute
     */
    void setOtherClipType(java.lang.String otherClipType);
    
    /**
     * Sets (as xml) the "otherClipType" attribute
     */
    void xsetOtherClipType(org.apache.xmlbeans.XmlString otherClipType);
    
    /**
     * Unsets the "otherClipType" attribute
     */
    void unsetOtherClipType();
    
    /**
     * Gets the "clipBegin" attribute
     */
    java.lang.String getClipBegin();
    
    /**
     * Gets (as xml) the "clipBegin" attribute
     */
    org.apache.xmlbeans.XmlString xgetClipBegin();
    
    /**
     * Sets the "clipBegin" attribute
     */
    void setClipBegin(java.lang.String clipBegin);
    
    /**
     * Sets (as xml) the "clipBegin" attribute
     */
    void xsetClipBegin(org.apache.xmlbeans.XmlString clipBegin);
    
    /**
     * Gets the "clipEnd" attribute
     */
    java.lang.String getClipEnd();
    
    /**
     * Gets (as xml) the "clipEnd" attribute
     */
    org.apache.xmlbeans.XmlString xgetClipEnd();
    
    /**
     * Sets the "clipEnd" attribute
     */
    void setClipEnd(java.lang.String clipEnd);
    
    /**
     * Sets (as xml) the "clipEnd" attribute
     */
    void xsetClipEnd(org.apache.xmlbeans.XmlString clipEnd);
    
    /**
     * An XML clipType(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.AudioParamType$ClipType.
     */
    public interface ClipType extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ClipType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD786373FFAFECC4E3D5A933ABA2591D1").resolveHandle("cliptypede42attrtype");
        
        org.apache.xmlbeans.StringEnumAbstractBase enumValue();
        void set(org.apache.xmlbeans.StringEnumAbstractBase e);
        
        static final Enum BYTE = Enum.forString("byte");
        static final Enum SMIL = Enum.forString("smil");
        static final Enum MIDI = Enum.forString("midi");
        static final Enum TIME = Enum.forString("time");
        static final Enum TCF = Enum.forString("tcf");
        static final Enum OTHER = Enum.forString("other");
        
        static final int INT_BYTE = Enum.INT_BYTE;
        static final int INT_SMIL = Enum.INT_SMIL;
        static final int INT_MIDI = Enum.INT_MIDI;
        static final int INT_TIME = Enum.INT_TIME;
        static final int INT_TCF = Enum.INT_TCF;
        static final int INT_OTHER = Enum.INT_OTHER;
        
        /**
         * Enumeration value class for uk.da.dext.AudioParamType$ClipType.
         * These enum values can be used as follows:
         * <pre>
         * enum.toString(); // returns the string value of the enum
         * enum.intValue(); // returns an int value, useful for switches
         * // e.g., case Enum.INT_BYTE
         * Enum.forString(s); // returns the enum value for a string
         * Enum.forInt(i); // returns the enum value for an int
         * </pre>
         * Enumeration objects are immutable singleton objects that
         * can be compared using == object equality. They have no
         * public constructor. See the constants defined within this
         * class for all the valid values.
         */
        static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
        {
            /**
             * Returns the enum value for a string, or null if none.
             */
            public static Enum forString(java.lang.String s)
                { return (Enum)table.forString(s); }
            /**
             * Returns the enum value corresponding to an int, or null if none.
             */
            public static Enum forInt(int i)
                { return (Enum)table.forInt(i); }
            
            private Enum(java.lang.String s, int i)
                { super(s, i); }
            
            static final int INT_BYTE = 1;
            static final int INT_SMIL = 2;
            static final int INT_MIDI = 3;
            static final int INT_TIME = 4;
            static final int INT_TCF = 5;
            static final int INT_OTHER = 6;
            
            public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                new org.apache.xmlbeans.StringEnumAbstractBase.Table
            (
                new Enum[]
                {
                    new Enum("byte", INT_BYTE),
                    new Enum("smil", INT_SMIL),
                    new Enum("midi", INT_MIDI),
                    new Enum("time", INT_TIME),
                    new Enum("tcf", INT_TCF),
                    new Enum("other", INT_OTHER),
                }
            );
            private static final long serialVersionUID = 1L;
            private java.lang.Object readResolve() { return forInt(intValue()); } 
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static uk.da.dext.AudioParamType.ClipType newValue(java.lang.Object obj) {
              return (uk.da.dext.AudioParamType.ClipType) type.newValue( obj ); }
            
            public static uk.da.dext.AudioParamType.ClipType newInstance() {
              return (uk.da.dext.AudioParamType.ClipType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static uk.da.dext.AudioParamType.ClipType newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (uk.da.dext.AudioParamType.ClipType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static uk.da.dext.AudioParamType newInstance() {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static uk.da.dext.AudioParamType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static uk.da.dext.AudioParamType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static uk.da.dext.AudioParamType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static uk.da.dext.AudioParamType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static uk.da.dext.AudioParamType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static uk.da.dext.AudioParamType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static uk.da.dext.AudioParamType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static uk.da.dext.AudioParamType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static uk.da.dext.AudioParamType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static uk.da.dext.AudioParamType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static uk.da.dext.AudioParamType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static uk.da.dext.AudioParamType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static uk.da.dext.AudioParamType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static uk.da.dext.AudioParamType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static uk.da.dext.AudioParamType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static uk.da.dext.AudioParamType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static uk.da.dext.AudioParamType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (uk.da.dext.AudioParamType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
